package mapreduce;

/**
 * This Class is for Buffer Management. If user choose memory-base processing. This Class will be base class of
 * memory management.
 * @author Songbo Liao
 *
 * @param <KEYIN>
 * @param <VALUEIN>
 * @param <KEYOUT>
 * @param <VALUEOUT>
 */

public class BufferManager<KEYIN, VALUEIN, KEYOUT, VALUEOUT> implements Manager<KEYOUT, VALUEOUT>{

	
	protected int Taskid;
	public BufferManager (int taskid)
	{
		this.Taskid =taskid;
	}
	
	@Override
	/*
	 * write <key,value> to buffer
	 * @see mapreduce.Manager#write(java.lang.Object, java.lang.Object)
	 */
	public void write(KEYOUT key, VALUEOUT value) {
		
		
	}

	@Override
	public void close() {
		
		
	}

}
